package com.study.talk.netty.message.response;

import com.study.talk.netty.message.MessageType;
import com.study.talk.netty.message.TalkMessage;

/**
 *  同意添加好友消息响应
 */



public class AcceptResponse extends TalkMessage {

    //("邀请方id")
    private Integer inviteUserId;

    //("被邀请方id")
    private Integer invitedUserId;

    //("被邀请方昵称")
    private String invitedName;

    //("是否同意邀请")
    private Boolean success;

    @Override
    public byte getType() {
        return MessageType.ACCEPT_RESPONSE;
    }


    public AcceptResponse(Integer inviteUserId, Integer invitedUserId, String invitedName, Boolean success) {
        this.inviteUserId = inviteUserId;
        this.invitedUserId = invitedUserId;
        this.invitedName = invitedName;
        this.success = success;
    }

    public AcceptResponse() {
    }

    public Integer getInviteUserId() {
        return inviteUserId;
    }

    public void setInviteUserId(Integer inviteUserId) {
        this.inviteUserId = inviteUserId;
    }

    public Integer getInvitedUserId() {
        return invitedUserId;
    }

    public void setInvitedUserId(Integer invitedUserId) {
        this.invitedUserId = invitedUserId;
    }

    public String getInvitedName() {
        return invitedName;
    }

    public void setInvitedName(String invitedName) {
        this.invitedName = invitedName;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }
}
